package com.example.demo.service;

import com.example.demo.dao.StudentMapper;
import com.example.demo.pojo.Student;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StudentService {
    @Resource
    private StudentMapper sm;

    public List<Student> list(Student student) {
        return sm.list(student);
    }
}
